use application::user::{service,dto};
use application::user::dto::UserQuery;

pub struct UserService<T:service::UserService>{
    application:T
}
impl <T:service::UserService> UserService<T>{
    fn query(&self,id:u32) -> dto::UserDTO{
        self.application.query(UserQuery::create(id))
    }
}